Hi
I am brand new to the Mac. I bought a 1 year old iMac and installed Lion on it with the help of a friend.
I then downloaded and installed the Lion Server from the App Store.
I tested setting up a PHP website by creating the website folder within my Public directory (Easily accessable via Finder)
as /JohnCogan/Public/Development/PHP/Testsite
and set this up in Lion Server on Port 8081 and "Store site files in" points to that folder.
Stopped/Started server and Enable PHP web apps is enabled/checked.
Problem is it seems that PHP doesnt run on this website set up as it is.
If I create a new webiste/folder under the default /Library/Server/Web/Sites/ then PHP runs fine, phpinfo() displays data.
How can I set up Lion server to allow PHP to run outside of its default area. Reason I want it like this I dislike fiddling within the terminal with SUDO each time I want to create a new development website and add files.
Any help in this regard would be great, thanks
John
I am brand new to the Mac. I bought a 1 year old iMac and installed Lion on it with the help of a friend.
I then downloaded and installed the Lion Server from the App Store.
I tested setting up a PHP website by creating the website folder within my Public directory (Easily accessable via Finder)
as /JohnCogan/Public/Development/PHP/Testsite
and set this up in Lion Server on Port 8081 and "Store site files in" points to that folder.
Stopped/Started server and Enable PHP web apps is enabled/checked.
Problem is it seems that PHP doesnt run on this website set up as it is.
If I create a new webiste/folder under the default /Library/Server/Web/Sites/ then PHP runs fine, phpinfo() displays data.
How can I set up Lion server to allow PHP to run outside of its default area. Reason I want it like this I dislike fiddling within the terminal with SUDO each time I want to create a new development website and add files.
Any help in this regard would be great, thanks
John