I figured out what the problem was: the PHP that ships with Red Hat is
configured with --enable-safe-mode, and this directive is commented out
in scripts/php.ini. If I re-enable it, everything works.

safe_mode seems to be commented out in php.ini since the first version
in CVS, is there a specific reason for this? Are there any pointers to
'uncommenting' this directive? I couldn't find anything about it in the
PHP Documentation HOWTO (like, "what to do if compilation doesn't work"
or something like that).

Anyway, I'm glad it works, so I can start real translation work.

Greetings,

Jan Fabry

PS: Good that I found this on my own, it seems everybody is at LinuxTag
;)

On Wed, 2003-07-09 at 04:10, Jan Fabry wrote:
> Hello,
> 
> When trying to compile the PHP documentation, I keep getting the same
> error:
> 
> ERROR: Failed to open /home/cheezy/phpdoc-nl/entities/file-entities.ent
> for writing
> 
> I have searched the list archives, but could only find older articles
> dealing with this problem, and they couldn't help me. It seems that all
> calls to fopen in scripts/file-entities.php fail, but I have no idea
> why. If I try to fopen file-entities.ent from another php file, it
> works.
> 
> I am using the PHP that came with Red Hat 9 (one upgrade), 4.2.2[-17.2].
> The directory is writeable, if I `touch` the file and test if it
> is_writable from file-entities.php, it all works, only the fopen fails.
> 
> I have checked out the latest version of the documentation as phpdoc-nl,
> autoconf works, and then configure fails.
> 
> Any pointers to more information are appreciated.
> 
> Greetings,
> 
> Jan Fabry
> 


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to