PHP: Scripts dont execute!

Discussion in 'Installation/Configuration' started by mgendys, Feb 8, 2007.

  1. mgendys

    mgendys New Member

    I have followed the The Perfect Setup - OpenSuSE 10.2 (32-bit) instructions, almost word for word.

    I use to have a SUSE 10.1 setup about 2 months ago, but that was a temporary test server, which funny enough actually worked.

    This installation, which was going to be my webserver, seems to work with HTML but not PHP scripts.

    I have tried to reinstall the whole system, I have tried to reinstall the PHP only, and I have read many similar problems and solutions, but with no luck.

    The only thing I can come up with is that this might be that there is a bug in ISP Config 2.2.9, because it seems to work with 2.0.9 that I had on the test server, and the same problem occurs if I use SUSE 10.1 with 2.2.8/9.

    Is there something I am missing or forgetting to do???
    Or is there a simple solution that I have overlooked???
     
  2. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Have you enabled suexec on the system.. try turning it on/off and then back on/off maybe a restart in between. the next is make sure that the permission ont he file have been set (reset) properly.

    I must say that these fixes are for cgi stuff so not sure if the same works for php but its worth ago.

    Thanks
     
  3. mgendys

    mgendys New Member

    1) I have tryed checking the Suexec in the web panel of ISPConfig, I am not sure if there is a manual way of doing it through a script.
    2) I restarted the machine and still no luck.
    3) Changed the permissions on info.php file that I got from the test.zip on the forums, and still no luck.
    4) I have unchecked the Suexec in the web panel.
    5) I restarted again, and guess what...

    STILL NO LUCK!!!

    ANY OTHER IDEAS???

    Does anyone know if this is a bug that is in ISPConfig 2.2.8/9 only???
     
  4. danf.1979

    danf.1979 Member

    Did you actually enable php for the site? :)
    You can do so in the "base" tab.
     
  5. mgendys

    mgendys New Member

    PHP enabled in ISPConfig, I have also tried to reinstall PHP and tried to mess around with apache.

    I have also tried reinstalling ISPConfig and there is still no luck...

    I am also begining to think maybe it is a problem in apache 2, that it is not running PHP, but I cant see that there is any issues in Apache!!!
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess your problem is related to this issue:

    http://www.howtoforge.com/forums/showpost.php?p=56261

    we changed it already in SVN for the next relaese of ISPConfig. You can change it your sellf by replacing the line:

    with:

    in the file /root/ispconfig/scripts/lib/config.lib.php around line 1390
     
    Last edited: Feb 9, 2007
  7. mgendys

    mgendys New Member

    :D THANKS TILL - THAT ACTUALLY WORKED!!!:D

    Thanks all for your advice and support, this is the best support I have ever received on a forum, and it is great seeing the knowledge being shared around.
     
  8. R0l@ndSm0ke

    R0l@ndSm0ke New Member

    After updating to version 2.2.17, I find that these issue remain unresolved. I have to update these files with every update to ISPConfig.
     

Share This Page