wamp

How to read information from .3gp and .mp4 using ffmpeg-php?

£可爱£侵袭症+ 提交于 2019-12-07 20:27:02
问题 I have a bit of a problem with ffmpeg-php. I'm trying to get some information from video files and it works pretty fine with file formats like .avi, .mpg or .flv but when I try to use .3gp or .mp4 in: $movie = new ffmpeg_movie('path/to/file/test.3gp'); I get error like this : ffmpeg_movie::__construct() []: ISO: File Type Major Brand: 3gp5 or ffmpeg_movie::__construct() []: ISO: File Type Major Brand: mp42 I installed ffmpeg-php on WAMP using instructions found here: How to install FFMpeg in

How to repair wamp server without re-installing?

对着背影说爱祢 提交于 2019-12-07 20:06:50
问题 After making changes in php.ini by uncommenting extension=php_openssl.dll My Windows-8 system got shutdown due to power failure and later i use to get this error when i try to start wamp server Later visiting some link i added the below code to wampmanager.ini file as it was empty Now the first error got fixed and now throwing this error mentioned below: Later i also installed visual c++ 2008 to fix this error but unsuccessful. I have many important databases which i have not taken back up

Can't access WAMP site from the web with IP

可紊 提交于 2019-12-07 15:42:50
问题 I'm running the latest version of wampserver with apache 2.4.2 and php 5.4.3. on Windows 2008. I'm running two ip's, one for iis and one for apache. I did that by adding Listen 123.456.78.999:80 Listen 80 in httpd.conf. I also switched 'require local' to 'require all granted' in the of both 'ServerName localhost:80' and 'DocumentRoot "c:/wamp/www/"'. When entering the ip in the local browser, I get access. But when I enter it from the web/external browser, the browser cant find the server and

wamp html script not updating

怎甘沉沦 提交于 2019-12-07 13:43:29
I am trying to run a php based web app locally using wamp. On making changes to the html script in .php file, the page does not get updated. However, changes in css files are being updated. Any fixes to the issue? RiggsFolly If your code changes dont get reflected when you view the page, it has probably been cached by the browser. Always use CTRL + F5 so the cache is refreshed when making changes. Alternatively most browsers have developer extension and one of those is usually an option to turn off caching. You should look for that and set it while developing a site. How do I Disable FireFox's

Can't access localhost with wamp and Chrome

依然范特西╮ 提交于 2019-12-07 11:02:48
问题 from today, when I go to localhost (http://localhost) after launch WAMP, in Firefox, as usual, everything is normal, but Chrome says "Forbidden, You don't have permission to access / on this server." Anyone can help me please ? 回答1: Edit: Solved it for me. This is an IPv6 problem. Google must have just updated Chrome. First of all ensure that your hosts file has the following line and that it is uncommented. ::1 localhost Next, open up your Apache config (httpd.conf) and add the following to

WAMP SERVER开启rewrite伪静态重写模块

那年仲夏 提交于 2019-12-07 10:26:12
WAMP SERVER一键安装套件在安装完后默认是未开启rewrite伪静态模块,不支持.htaccess rewrite规则,有rewrite规则的源代码运行时,会找不到路径出错。分享一下如何开启rewrite伪静态模块。 第一步:打开wamp安装目录里的bin文件夹,找到Apache安装目录下的conf目录中的httpd.conf配置文件(比如:E:\wamp\bin\apache\apache2.2.22\conf),使用文本编辑器打开 httpd.conf, 搜索mod_rewrite.so关键字找到,“#LoadModule rewrite_module modules/mod_rewrite.so”,找到这一行,去掉前面的“#”。 LoadModule rewrite_module modules/mod_rewrite.so 第二步:找到“AllowOverride None”改为“AllowOverride All”。 针对根目录下所有目录生效: <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all </Directory> 第三步:重启apache。 第四步:现在可以使用.htaccess文件实现伪静态等功能。

Can't access files in a subdirectory using Apache server

送分小仙女□ 提交于 2019-12-07 07:30:48
问题 I have an Apache 2.2.21 server installed on my Windows 7 machine. My site is up and my scripts from /scripts subdirectory are working but when I try to load icons from /icons I get a 403 forbidden error. I've already added this to my httpd.conf file: <Directory "c:/wamp/www/icons/"> Options Indexes FollowSymLinks Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> Still no effect. So the question is: how can I access files in my /icons subfolder? P.S.: Using /images subdirectory

Why is “mysql_connect” discouraged and what are the alternatives?

我的未来我决定 提交于 2019-12-07 06:09:11
问题 I'm trying to learn about database management and MySQL through PHP. The problem is all the tutorials I've seen use mysql_connect and according to the documentation that's bad. What is the problem with using mysql_* functions and what are the alternatives? If there are any free online tutorial please post the link. 回答1: You can try using mysqli the i stands for Improved to access to your Database and it offers a lot more functions than just the mysql connector, or also you can use PDO wich

Wamp Apache - Allow localhost

放肆的年华 提交于 2019-12-07 05:40:32
问题 There are other questions similar to this but don't answer my problem. This is the default httpd.conf : <Directory "C:/wamp/www/"> Options Indexes FollowSymLinks AllowOverride all # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> and it allows only 127.0.0.1 , but I want to allow also localhost and 192.168.x.x (my private ip). Well, the other answers are: put Allow from all and uncomment in hosts file the line 127.0.0.1 localhost ; but I read

Wamp Virtual Host Set Up

扶醉桌前 提交于 2019-12-07 05:32:13
问题 sorry for having a similar question to what has been posted all ready but the others aren't helping me. I'm trying to set up a virtual host on my windows 8 computer but I can't seem to get it to work no matter what tutorial or help section i follow, this is my setup so far. httpd-vhosts.conf # Virtual Hosts # # Required modules: mod_log_config Listen 80 <VirtualHost *:80> ServerAdmin admin@localhost.com DocumentRoot "C:\Program Files (x86)\2. Apps\Wamp\www" ServerName localhost <Directory "C: