Hello!
I'm new to OS ticket, and I am trying to make it work loally on macos-x.
Before being asked: php works fine, and I can run a local web, so the http server
also works fine.
I am facing the problem I guess everybody faces at first: the short_open_tag issue.
The page says "Depending on your server permission level - the directive can be set
on in php.ini, .htaccess or httpd.conf." Now let's see the wiki. Ok, it does not say
anything more than that.
Now I am in the upload directory in a terminal. When I look for php.ini, there is none.
httpd.conf is somewhere else, let's try .htaccess. I find this:
beru pascal$ find . -name "*htaccess*"
./include/.htaccess
./include/client/.htaccess
./include/pear/.htaccess
./include/staff/.htaccess
./setup/inc/.htaccess
beru pascal$
First thing: Which file should I edit? Is it one of the above? Or another file? If yes,
where is it located?
Now I let's suppose I know which file to edit. What should I add in it?
short_open_tag=1 ?
short_open_tag=TRUE ?
short_open_tag=YES ?
setenv short_open_tag 1 ?
export short_open_tag=1 ?
Anything else?
Or is it better to comment out the following lines ?
setup/install.php:}elseif(!ini_get('short_open_tag')) {
setup/upgrade.php:}elseif(!ini_get('short_open_tag')) {
I guess I should avoid that, but I don't know where to begin.
Thanks,
Pascal