PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

4
votes
2answers
4k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
3
votes
2answers
786 views

Can't access wiki site through any other computers on my LAN

I am trying to set up an internal wiki site for my company. Product info, specs that sort of thing. I have downloaded and installed WAMP Server 2.2 (Apache 2.2.22 MySQL 5.5.24 PHP 5.3.13) as well as ...
1
vote
2answers
67 views

PHP server permissisons for files and directories granted, but still not allowed

I have php code on Codeanywhere where I'm simply trying to create a file on the server but yet gets the following error : "Warning: fopen(file.txt): failed to open stream: Permission denied in ...
1
vote
2answers
270 views

Apache is allowing PHP files to download when routed through mod_rewrite

I'm setting up a new server, which seems to almost be working. I've done my homework, but I seem to be stuck. PHP works. When I try to access the following URLs, which serve the same page correctly ...
1
vote
2answers
2k views

PHP warnings after Mavericks upgrade

After upgrading my Mac to Mavericks I've had a few small issues with machine, most of which I've resolved, however when I try to run PHP scripts at the command line I'm not getting these warnings... ...
1
vote
2answers
392 views

How to add a linux environment variable for different language (PHP or RUBY)

I would like to add a linux environment variable for my differents applications written in PHP and Ruby. Its goal is to differntiate between 'production' and 'development' linux environment. How to ...
1
vote
2answers
2k views

WAMP not executing PHP

My WAMP server is not executing PHP. I have already tried the following things: restarted just Apache restarted all WAMP services restarted the WAMP application restarted my whole system renamed the ...
1
vote
2answers
394 views

Netstat doesn't work on FreeBSD by php function exec()

In my php-app I need list of all ip connected on 80 port. i've chose this way: <?php $ips = exec("netstat -an |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c", $info); ...
1
vote
2answers
3k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
1
vote
2answers
721 views

Upload Picture File Paths to Database Without Creating Multiple Records and Giving The Files Random Names

I want to be able upload pictures to a folder and their filepaths to a MySQL database without creating multiple records. For example instead of: id PicturePath size 1 ...
1
vote
2answers
507 views

Why localhost is too slow while I am downloading and it works perfect when there's no internet at all

My project don't need anything from the internet, no JQuery, no twitter, no nothing! and it works perfectly when there's no internet connection at all, and of course when there's an internet ...
1
vote
2answers
959 views

Can't write to /var/www/ directory with PHP, permissions are 777

I can't understand where the problem is. Apache is running with my standard user that actually can write those files. What should I do?
0
votes
2answers
30 views

How to prevent directly accessing a php file from its parent file?

I have a php file in www.example.com/somefile.php that includes a file in another directory www.example.com/directory/someotherfile.php. How can I prevent someone from accessing someotherfile.php ...
0
votes
2answers
40 views

Access a built-in mac webserver from another machine

I'm using php to create a built-in web server in my Mac, so I can access my webpage files and route them through a file. In order to do this, I'm using the terminal command php -S localhost:8080 ...
0
votes
2answers
76 views

How to highlight PHP, HTML & JavaScript at same time with Notepad++?

The file extension and language is PHP, and need to highlight HTML and JavaScript at the same time with the main language PHP in Notepad++ Example of code to highlight: <?php $form_name = ...
0
votes
1answer
595 views

web server very slow, bombarded with php-cgi processes?

I have a Parallel Plesk 11.0.0 with CentOS 6.3. Lately, I've noticed that my web server runs VERY slow (not the norm), CPU average at 80% no matter what kind of traffic, and my top is filled with ...
0
votes
1answer
555 views

Slow PHP over ubuntu server | VirtualMachine

I have an Ubuntu-server 12.04LT-64x installed on VMware Player (I found VMWare works better than Virtualbox after few installations over vb). My host computer is an Intel i3 with 6GB-RAM and ...
0
votes
1answer
287 views

Can't Start Apache on on Snow Leopard. “libphp5.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0”

To cut a long story short, I was trying to compile and get ImageMagick working on my Mac running Snow Leopard. One thing led to another and now I am stuck with the following error message when I try ...
0
votes
1answer
687 views

Plesk SSH chown root:root admin by mistake

I have a Plesk server running the domain geekwiz.com. I was trying to run cronjobs using the scheduler on plesk however I was receiving emails of the cronjobs saying: permission denied. I SSH into ...
0
votes
1answer
489 views

mac os x terminal php command not found

I am using Mac OS X 10.6.8. In Terminal, when I enter php -v, I get below message: Last login: Sun Dec 16 20:22:05 on ttys000 You have mail. -bash: e: command not found ~ $cd / / $php -v -bash: php: ...
0
votes
1answer
454 views

HTML5 websocket-support for NGINX

I need websockets in a project for HTML5 and PHP, but it don´t works. I read something about that NGINX is not supporting them. Is there a possibility to install a plugin that brings me the support ...
0
votes
1answer
124 views

Mass modify all php files on my server

I would like to delete a php code on all my php files on my debian server. indeed I would like to get rid of a line: eval(base64_decode("DQplcnJvcl9yZXBvcnR")); It's present in many of my phpfiles. ...
0
votes
1answer
522 views

Sync Folder Between Two Servers

I have an hourly PHP backup script for my MySQL Database, but now I need a way to synchronize the newest backup file in the bunch to a remote server. Both of them have IIS installed, and both have ...
0
votes
1answer
566 views

Screen multiuser - Permission denied

I'm trying to send input to a screen session from php. So far I have followed the steps explained here Is running GNU Screen suid root the only way to make multiuser mode work? And I have set ...
0
votes
1answer
2k views

PHP mail() function not working in Mac OS X

I know this question has been asked many times and people use to give many solutions. I have followed almost all the possibilities which I come across after investigating on it. but nothing worked ...
0
votes
1answer
418 views

Tunneling through SSH for 1521 port access?

I am developing locally on my computer, using my own Apache server with PHP configured. My database however is remotely located on an Oracle 11g Database Server. We were also given a separate remote ...
0
votes
1answer
158 views

Centos: php-devel trashed mysql

Good morning. I'm on a CentOS machine, did a yum install php-devel Flat out saying this MySQL Daemon failed to start. Starting mysqld: [FAILED] which ...
0
votes
1answer
1k views

Give permissions to www-data user to run a local script

I actually try to launch a gnome-terminal with a PHP script, and seems I have some problems with the users www-data; My script only makes an ls -l command in a directory (is just for a test) and I ...
0
votes
1answer
781 views

Apache and PHP with cURL

I am running Sun server with Solaris 10/SPARC. I had/have Apache 1.37 with PHP 5.2.1 running as a dynamic extension, and want to enable cURL support. I have tried to re-compile PHP with the ...
0
votes
1answer
1k views

PHP web application can't connect mysql installed with Zend Server CE on Mac OSX

I'm setting up development environment on Mac OSX. However the PHP web application can't connect the mysql server installed with Zend Server CE. The error information is below, [Type] dbnot_connect ...
0
votes
1answer
105 views

no php/asp/scripts to send a form

'm working on developing a server in java to embed it into a new programming language as a part of run time support. I don't want php/asp or any script support, but I need to send requests from html ...
0
votes
1answer
172 views

xampp plus apache php mysql separate installers

I am wondering, having my system currently installed with XAMPP, is it okay if I will install another Apache, PHP, mySQL (separate installers)?
0
votes
1answer
453 views

Code Completion using CodeIgniter on Espresso

I have downloaded Espresso to use as a PHP (CodeIgniter) IDE, but it appears that Espresso doesn't have code completion for CodeIgniter. Is there anyway that I can enable the code completion in ...
0
votes
1answer
405 views

PHP on IIS7 not showing pages

I have a PHP website on a Windows 7 machine I'm working with and it cannot be viewed by any browser - IE, Chrome, Firefox. When navigating to the root of the website (default index.php) the browser ...
0
votes
1answer
1k views

“None of the supported PHP extensions are available” error while upgrading PHP

Since I upgraded from 5.0 version to 5.5 I am getting the following error on my PHP page. None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. When I tried to install ...
0
votes
1answer
238 views

In Flash Builder 4.5 for Mac, how can I use xdebug as my PHP debugger (instead of Zend Debugger)?

Currently, under Preferences>PHP>Debug>Installed Debugger, only Zend Debugger is shown, and there is no way to add xdebug, even though I have verified that it is active using phpinfo(). Does anyone ...
0
votes
1answer
2k views

Installing Zlib for PHP on Windows

How do I install Zlib for PHP under Windows?
0
votes
1answer
807 views

How do I install ffmpeg for use with php on Windows Server 2008?

I have zend server running php on Windows Server 2008 64 bit. How do I install ffmpeg for use with php?
0
votes
1answer
345 views

Mac OS: Mysql, PHP, Apache not working!

Mysql j:~ julian$ mysql -bash: mysql: command not found Apache/PHP Forbidden to access / on the server.
0
votes
1answer
449 views

ImageMagick cannot use identify on remote image if it contains a port number

I am having trouble using exec identify on a remote image with imagemagick if the url contains a port number. So the url appears like this: http://isite.com:81/image.jpg If I remove the :81 it works. ...
0
votes
1answer
239 views

Ubuntu mail PHP port error

I was able to send mail up until last week when godaddy changed there mail server name. Im not sure what file to update with the new server name. Im getting this error message when trying to send ...
0
votes
1answer
3k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run sudo pecl install imagick, I get this error: checking ImageMagick MagickWand API configuration program... ...
0
votes
1answer
117 views

Internal message/ note platform

I am looking to implement a system which allows our internal team to write notes about a specific customer and 'tag' another employee if action is required. If an employee is tagged, they are alerted ...
0
votes
1answer
446 views

PHP / Postgre Problem on Mac

Hey there, I'm on a project that uses drupal and postgresql, and i was developing using console and ssh, but i had some troubles and i want to make it local. So i enabled mac's Apache and PHP, and ...
0
votes
1answer
202 views

How to upgrade php from old version to new version

How to upgrade php from old version to new version. Say from php 5.3.3 to php 5.3.5?
0
votes
1answer
571 views

Change the mysql.sock that the system PHP uses

In the past I had installed MySQL as part of XAMPP in /Applications/XAMPP/ and the PHP that the system used (e.g. from command line) used /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock to connect ...
0
votes
1answer
2k views

Installing Zend on CentOS is having dependency issues

I'm trying to install PHP's Zend Server on my CentOS VPS but it's having dependency issues that I can't seem to resolve. zend-server-php-5.2-4.0-73.noarch from Zend_noarch has depsolving problems ...
-1
votes
1answer
544 views

How to Syncing Offline MySQL db to online MySQL db

I am developing a inventory management web application using php and mysql. This application will runs on server hosting and localhost. while any one server disconnect the internet at the time data ...
-1
votes
1answer
87 views

OSX Mavericks - Upgraded PHP not loading

I was wondering if someone could help me. Im running mavericks OSX ... When i type php -v i get the following: PHP 5.4.24 I needed to upgrade the PHP version, so i followed an online guide and ...
-1
votes
1answer
238 views

Azure's Ubuntu 12.0.4 fails to install PHP5

Similar to this article from Azure themselves: http://www.windowsazure.com/en-us/manage/linux/common-tasks/install-lamp-stack/ I am trying to install PHP5 on Ubuntu 12.0.4 virtual machine. However, ...