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

3
votes
3answers
4k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
0
votes
3answers
101 views

Let user '_www' execute binary in /usr/local/bin

Total *nix n00b, so I apologize in advance. I installed ffmpeg through homebrew, now I want to call it from a PHP script with shell_exec(), e.g. ffmpeg -v. But nothing is happening. From Terminal it ...
0
votes
3answers
79 views

Setting up a local webserver using CentOS on VM

im new here, and basically new at setting up a webserver... now im already googling, and searching here in stackexchange on how to setup a webserver, they tend to direct me to a working server.. i ...
0
votes
3answers
3k views

How to Configure Adobe Dreamweaver CS6 with PHP and ASP .NET?

I have Wamp Server on my PC and also Visual Studio and I want to Configure Adobe Dreamweaver CS6 with ASP .NET and PHP so that I Can design Dynamic website....
4
votes
2answers
3k 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
710 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
27 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
223 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
1k 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
327 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
358 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
647 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
469 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
892 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
176 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
420 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
220 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
56 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
191 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
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
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
2answers
886 views

Scanning directories in my Network via PHP

I want to read all directories of a specified directory via PHP. (unfortunately Im not good enough in VB/C/Java to make a more efficient workaround) With this code, I could read all files from /tmp/ ...
0
votes
2answers
462 views

Panic - Coda. Code navigator doesn't recognize PHP

So, its simply began to be too lazy to parse my php code and it doesn't show anything. Only comments. No functions, no classes. How can i fix it? Syntax-mode is correct: PHP-HTML.
-1
votes
1answer
234 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, ...