The php tag has no wiki summary.
1
vote
5answers
102 views
Start/stop program from website
I have some users on my machine that I allow to run small Mumble voice servers. I would like for them to be able to start/stop their voice server from a website (being ran by Apache). With the current ...
3
votes
2answers
65 views
Unable to install the php-posix package on CentOS 5.6
I have the following PHP packages installed on my CentOS 5.6 host and I am trying to install php-posix. When I run yum install php-posix I receive an error saying that php53-common conflicts with ...
2
votes
2answers
46 views
Can I install PHP on a Chumby One?
I'm enjoying hacking my Chumby One. However, I'd prefer if I could run PHP on it. I have perl and python installed.
Does anyone know if I can compile PHP for it or if there is a ready made distro for ...
1
vote
1answer
67 views
Email sent from web server using PHP does not arrive
I am trying to send email via my web server using PHP but for some reason the email never arrives. According to PHP the email was sucessfully sent but I never receive the email. I know its not a spam ...
2
votes
0answers
36 views
How to set secure permissions for multiple users and multiple websites?
On a Gentoo 3.2.12 server with apache2+php, there are several websites running:
/www
/website1
/website2
...etc
The apache user should have read-only access to all the websites. There ...
1
vote
0answers
48 views
proper permissions under HTTP root with Apache2 + FastCGI + Suexec
I currently have a setup which runs Apache2 + FastCGI PHP + Suexec.
As an example, I'm using /mnt/data/www/vhosts/inflex.co.uk/htdocs as a DocRoot for one of my virtual hosts.
I have a script ...
1
vote
2answers
72 views
Removing a long string from php files - using grep and sed?
I have encountered some malware on my Linux server, and am trying to remove it from many php files.
I've tried endlessly with grep | sed and grep | tr and couldn't even erase a simple text string, ...
1
vote
2answers
78 views
How to meet required dependencies in order to install expect pecl extension on Mac OS X?
I am attempting to install the expect pecl extension.
OS version = 10.7.3
PHP version 5.3.10 installed via macports
expect version 5.45 installed via macports
The command I am executing:
...
0
votes
0answers
51 views
Giving PHP permission to write to files and folders
UPDATED FOR FURTHER CLARITY:
According to http://expressionengine.com/user_guide/installation/installation.html, it says:
For most Unix hosts the following is typical, but you may check with your ...
2
votes
2answers
62 views
Turn a bash and php script into a distributable rpm
I'm semi unix knowledgeable and I want to be able to call down an rpm from my server, run it with something like rpm -i , and have access to the script anywhere.
The script is a combination awk and ...
2
votes
2answers
78 views
What should I teach in my Linux class? [closed]
I'm teaching a basic Unix class using Ubuntu. We've already covered basic Unix stuff such as:
bash shell scripting
file and directory permissions
filesystem hierarchy
common commands
I would like ...
0
votes
1answer
85 views
phpmyadmin 403 error
i mannually installed phpMyAdmin according to this doc:quick install.but i keep getting the 403 error, i can successfully get into other folders in the root dir, how can i sovle this?
here is my ...
1
vote
0answers
28 views
Disable tab autocompletion in interactive mode
I have set disable-completion on in my ~/.inputrc, however this doesn't affect php in interactive mode (php -a).
I would like to copy some code from another editor to the php interactive shell which ...
1
vote
0answers
111 views
Debian: Upgraded to php 5.3 and lost phpcli, php-pear, etc
I upgraded to PHP5.3 using this tutorial: http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/
It removed the following packages:
Removing php-pear ...
Removing ...
5
votes
4answers
181 views
Case-insensitive file system for production server?
The initial situation looks like this:
The corporate software is PHP-based.
It is delivered by Apache 2 on a Windows 2003 Server.
It is big.
It is a legacy of rather unprofessional developers who ...