VOOZH about

URL: https://bbs.archlinux.org/viewtopic.php?id=80782

โ‡ฑ [Solved] Moodle doesn't works after upgrading to PHP 5.3 / Networking, Server, and Protection / Arch Linux Forums


Arch Linux

You are not logged in.

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

Ravenman
Member
๐Ÿ‘ Image
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
๐Ÿ‘ Image
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
๐Ÿ‘ Image
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

Atom topic feed

Powered by FluxBB