Hi,
I installed IIS Aid on my server. my server is Windows 2003 and IIS6.
I try to run Joomla CMS on my server but it give me some errors, and I don't know what should I do to sove them.
you can visit this site and see the PHP errors, http://portal.thepersianmodel.com/PHP/installation/index.php
Please help me to fix that.
Hi Hamid,
The first error is to do with where PHP saves your session data. The IIS Aid PHP Installer places this in the "sessions" directory in your PHP root directory. Open you php.ini file and look for the following value;
Session.save_path
Make sure the path specified here is valid and exists. If that does not work then it might be a file permission issue. let me know how you get on here.
The other two issues should not be anything to worry about. The display_errors setting is set to off as recommended by PHP as it can be a security issue, and the magic_quotes_gpc value is off to improve performance. You might need to set magic_quotes_gpc back to on if you have issues with Joomla, as the magic_quotes_gpc is usually set to on to support legacy code.
Hi Hamid,
The only setting that really sticks out at me as being incorrect is your session.save_handler value. Your session.save_handler is set like this;
session.save_handler ="C:\PHP-IIS\php4\sessions"
It should be set something like this;
session.save_handler = files
Did you set this yourself? If not then you may have come across a small bug in my installer.
Is the "C:\PHP-IIS\php4\sessions" value set in your session.save_path value correct? If so then try turning your magic_quotes_gpc to on.
Thanks for reporting your issues. I do all the testing myself, and there is only so much I can do. So feedback from people like yourself is very valuable. Also, just a word of warning. I've found the APC extension to be rather unstable with FastCGI (which my installer uses) because of the memory mapping it uses. As of the next version I'll be using eAccelerator rather than APC. I've done a lot of testing of eAccerator with FastCGI and have found it to be very stable. I'd recommend finding this line in you php.ini file;
extension=php_apc.dll
and change it to this;
;extension=php_apc.dll
Then restart IIS and the APC extension will be unloaded
Did you restart IIS after saving the changes to php.ini?
I see you have changed your session.save_path value to D:\Webspace\hkhanzadeh\Image\joomla,. I've never tried having the session directory outside the PHP root, so it may not work. At any rate having the comma (,) at the end of the string will almost certainly break it. Try setting your sessions directory back to the default and then restart IIS. You can restart IIS easily from the command line using this command;
iisreset /restart
Location: Melbourne, Australia
Joined: Sep 2003