![]() |
php files don't work on Apache 2.2.3
1 Attachment(s)
I am testing a ISPConfig 2.2.7 system on Fedora Core 6 VM downloaded from the LAMP on FC6 tutorial. My idea is to import into a VMWare Server and use in production. The funniest thing happened when I restored the current websites from the production server a VM running FC4 ISPConfig 2.2.7 Mysql 4.1.20, PHP 5.0.1, Apache 2.0.54 into the dev server to test and now PHP doesn't work on the Vhosts. It is odd because phpinfo.php works just fine but any other php file only gives 500 Internal Server error. If I try to access a directory that does not have a index.php file I get a 403 Forbidden error. I have attached phpinfo.php from the VM image.
VM FC6 image Mysql 5.0.22 Php 5.1.6 Apache 2.2.3 From /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf: Code:
<VirtualHost 10.79.33.195:80>:( Thanks in advanced |
Please have a look in the apache error log which is inside the logs directory of the website where you called the PHP script.
|
Solved!!
Okay before everyone just starts laughing I am running Jetbox CMS on this development server and it has similar setting in the .htaccess to Drupal. That said .htaccess Options are apparently not allowed. Not sure if its Apache, php5.1, or MySql 5, but this is the error that I got:
Code:
[Sun Oct 29 16:21:12 2006] [alert] [client 10.xx.;) .194] old code of .htaccess: Code:
Options -IndexesCode:
# Options -Indexes |
| All times are GMT +2. The time now is 23:32. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.