PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

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
764 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
56 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
254 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
371 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
385 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
698 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
498 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
937 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
23 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
30 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
47 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
2answers
160 views

Can't connect to ftp server - Connection refused by server

I'm new to this forum and ftp. When I try to connect to a ftp server using filezilla, It returns - Connection attempt failed with "ECONNREFUSED - Connection refused by server". I run the Network ...
0
votes
2answers
49 views

Can I add a second php.ini file that supercedes the first?

I've made changes to my php.ini file, so I don't update the php.ini file whenever I update the PHP package. I'd like to "fork" off my changes to a different file, so I can update the actual php.ini ...
0
votes
2answers
692 views

instalation ffmpeg in Ubuntu

I am using following steps for installing ffmpeg-php extension in Ubuntu Download ffmpeg-php-0.5.2.1.tbz2 extract it go to this directory run this "phpize" ./configure && make but when I ...
0
votes
2answers
254 views

Mounted HDD not having enough permissions from Apache/PHP

Piwigo gallery, on apache and php. The root system is a RAID 128GB. /var/www/html is on the root file system. Mounted the 320GB hdd to /var/www/html/320 using defaults, it's an ext4 fs. Put a ...
0
votes
2answers
469 views

.htaccess add multiple xdebug.remote_host

I am using NetBeans to remote debug a PHP application. Currently I have an entry in the .htaccess file on the remote directory to allow access to a single IP. I frequently switch between wired and ...
0
votes
2answers
248 views

Edit virtual host file using php

I have a php application and somethings related to the application need changes to vhost.conf file. Presently i'm making the changes manually. But i would like to automate it using a php script. Is ...
0
votes
2answers
2k views

Convert PDF to JPG without Imagemagick

Is there a way to convert a common UTF-8 encoded PDF to a JPG without using ImageMagick or Ghostscript? The reason I'm asking is, that I have to replace or "simply" double layer a small part (date) ...
0
votes
2answers
64 views

How can i look up where Constants are defined using Aptana

I am currently working on a shopping cart using an open source PHP framework. it is quite large. i recently installed a plugin that included over 160 separate files!, there is now some kind of logic ...
0
votes
2answers
206 views

PHP Installation on RHEL

Am trying to install and configure PHP 5.2.17 - 32 bit on RHEL6.2 but am getting error while configuring as below : checking libxml2 install dir... no checking for xml2-config path... ...
0
votes
2answers
1k views

How to install Doctrine in Linux (Ubuntu) through Terminal

Can any one explain the step by step procedure of installing Doctrine in Linux through terminal?
0
votes
2answers
190 views

OSX installing php 5.4

I downloaded Macports and run a command I get online, which would install php 5.4. It took a while, but seemed to work successfully. I then copied the php.ini.development and renamed it php.ini like ...
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
767 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
996 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
104 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
169 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
452 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
400 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
237 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
799 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
440 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
236 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
443 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
562 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
416 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
84 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
236 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, ...