You are not logged in.

#1 2009-09-23 14:12:12

Ravenman
Member
Registered: 2009-07-03
Posts: 236

[Solved] Moodle doesn't works after upgrading to PHP 5.3

Hi to everyone.

I have Moodle 1.9.5 installed; I've updated to PHP 5.3 and Moodle doesn't works now. yikes

When I do write this into the browser: http://localhost/moodle/, the page shows me this:

ERROR: You need to create the directory /srv/moodledata with web server write access

ERROR: You need to create the directory /srv/moodledata with web server write access

ERROR: You need to create the directory /srv/moodledata with web server write access

But before the upgrade everything worked fine roll
   
Someone else with the same problem? ... anyone knows how to fix it? neutral

Last edited by Ravenman (2009-09-23 20:39:06)

Offline

#2 2009-09-23 14:34:25

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [Solved] Moodle doesn't works after upgrading to PHP 5.3

Check your /etc/httpd/conf/extra/http-vhosts.conf. Mine was saved as httpd-vhosts.con.pacsave and a new one added. Also, check /etc/httpd/conf/httpd.conf. Those files need some manual updating.


Matt

"It is very difficult to educate the educated."

Offline

#3 2009-09-23 20:37:47

Ravenman
Member
Registered: 2009-07-03
Posts: 236

Re: [Solved] Moodle doesn't works after upgrading to PHP 5.3

Hi to everyone:

I did solve myself and it's simple, only I did need add the directory to the open_basedir variable into the /etc/php/php.ini file:

Before:

open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/

After:

open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/srv/

And all it continues working fine smile

Thanks to Mrunion for his interest ... until the next! wink

Last edited by Ravenman (2009-09-23 20:38:32)

Offline

Board footer

Powered by FluxBB